home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
netprog.zip
/
NETPROG.TAR
/
tftp
/
initvars.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-12-17
|
642b
|
29 lines
/*
* Initialize the external variables.
* Some link editors (on systems other than UNIX) require this.
*/
#include "defs.h"
char command[MAXTOKEN] = { 0 };
int connected = 0;
char hostname[MAXHOSTNAME] = { 0 };
int inetdflag = 1;
int interactive = 1;
jmp_buf jmp_mainloop = { 0 };
int lastsend = 0;
FILE *localfp = NULL;
int modetype = MODE_ASCII;
int nextblknum = 0;
int op_sent = 0;
int op_recv = 0;
int port = 0;
char *prompt = "tftp: ";
char recvbuff[MAXBUFF] = { 0 };
char sendbuff[MAXBUFF] = { 0 };
int sendlen = 0;
char temptoken[MAXTOKEN] = { 0 };
long totnbytes = 0;
int traceflag = 0;
int verboseflag = 0;